package rhc.spider.middlewareManage.impl;

import rhc.spider.common.SpiderData;
import rhc.spider.crawler.Crawler;
import rhc.spider.middleware.dowanloadMiddleware.DownloadMiddleware;
import rhc.spider.middlewareManage.BasicMiddlewareManage;
import rhc.spider.request.Request;
import rhc.spider.request.Response;
import rhc.spider.setting.Setting;
import rhc.spider.spider.Spider;

/**下载器中间件管理器
 * @author lenovo1
 *
 */
public class DownloadMiddlewareManage extends BasicMiddlewareManage<DownloadMiddleware> implements DownloadMiddleware{

	public DownloadMiddlewareManage(Crawler crawler, Setting setting) {
		super(crawler, setting);
		// TODO 自动生成的构造函数存根
	}

	@Override
	protected void createMiddlewareList() {
		// TODO 自动生成的方法存根
		
	}

	@Override
	public SpiderData processRequest(Spider spider, Request reqeust) {
		// TODO 自动生成的方法存根
		return null;
	}

	@Override
	public SpiderData processResponse(Spider spider, Request request,
			Response response) {
		// TODO 自动生成的方法存根
		return null;
	}

	@Override
	public SpiderData processException(Spider spider, Request request,
			Exception exception) {
		// TODO 自动生成的方法存根
		return null;
	}

}
